package com.basics.driver.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.basics.framework.web.domain.BaseEntity;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 司机表
 * </p>
 *
 * @author WangWei
 * @since 2025-05-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dm_driver")
@ApiModel(value="DmDriver对象", description="司机表")
public class DmDriver extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "司机ID")
    private Long id;

    @ApiModelProperty(value = "司机姓名")
    private String driverName;

    @ApiModelProperty(value = "身份证号码")
    private String idNumber;

    @ApiModelProperty(value = "出生年月")
    private LocalDateTime birthDate;

    @ApiModelProperty(value = "户口地址")
    private String accountAddress;

    @ApiModelProperty(value = "民族")
    private String nation;

    @ApiModelProperty(value = "发证机关")
    private String licenceIssuing;

    @ApiModelProperty(value = "身份证开始日期")
    private LocalDateTime cardBeginTime;

    @ApiModelProperty(value = "身份证有效期截止日期")
    private LocalDateTime cardEndTime;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @ApiModelProperty(value = "身份证背面")
    private String idCardBack;

    @ApiModelProperty(value = "身份证正面")
    private String idCardFront;

    @ApiModelProperty(value = "驾驶证正面照")
    private String licenseFrontImg;

    @ApiModelProperty(value = "驾驶证背面照")
    private String licenseBackImg;

    @ApiModelProperty(value = "驾驶证号码")
    private String licenseNo;

    @ApiModelProperty(value = "准驾车型(字典quasi_driving_vehicle)")
    private Integer quasiDrivingVehicle;

    @ApiModelProperty(value = "首次领证日期")
    private LocalDateTime firstReviceDate;

    @ApiModelProperty(value = "有效期起始时间")
    private LocalDateTime licenseBeginTime;

    @ApiModelProperty(value = "驾驶证有效期截止时间")
    private LocalDateTime licenseEndTime;

    @ApiModelProperty(value = "人证姓名")
    private String realname;

    @ApiModelProperty(value = "人证编号")
    private String personLicenseNo;

    @ApiModelProperty(value = "人证图片")
    private String personLicenseImg;

    @ApiModelProperty(value = "是否有认证")
    private Boolean personLlicenseFlag;


}
